using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools
{
    /// <summary>
    /// <para>Add Terrain Points</para>
    /// <para>Adds terrain multipoints to an embedded terrain feature class.</para>
    /// <para>将 terrain 多点添加到嵌入式 terrain 要素类中。</para>
    /// </summary>    
    [DisplayName("Add Terrain Points")]
    public class AddTerrainPoints : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public AddTerrainPoints()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_terrain">
        /// <para>Input Terrain</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_terrain_feature_class">
        /// <para>Input Terrain Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_in_feature_class">
        /// <para>Input Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public AddTerrainPoints(object _in_terrain, object _terrain_feature_class, object _in_feature_class)
        {
            this._in_terrain = _in_terrain;
            this._terrain_feature_class = _terrain_feature_class;
            this._in_feature_class = _in_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Add Terrain Points";

        public override string CallName => "3d.AddTerrainPoints";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_terrain, _terrain_feature_class, _in_feature_class, _method.GetGPValue(), _derived_out_terrain];

        /// <summary>
        /// <para>Input Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_terrain { get; set; }


        /// <summary>
        /// <para>Input Terrain Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _terrain_feature_class { get; set; }


        /// <summary>
        /// <para>Input Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_class { get; set; }


        /// <summary>
        /// <para>Method</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Method")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public _method_value _method { get; set; } = _method_value._APPEND;

        public enum _method_value
        {
            /// <summary>
            /// <para>APPEND</para>
            /// <para></para>
            /// <para></para>
            /// </summary>
            [Description("APPEND")]
            [GPEnumValue("APPEND")]
            _APPEND,

            /// <summary>
            /// <para>REPLACE</para>
            /// <para></para>
            /// <para></para>
            /// </summary>
            [Description("REPLACE")]
            [GPEnumValue("REPLACE")]
            _REPLACE,

        }

        /// <summary>
        /// <para>Output Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_out_terrain { get; set; }


        public AddTerrainPoints SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}